R   *R*

Radio Button 147
Balloon Help 156
Radio Set Specification editor 143
Radio Set system class
    active? 219
    balloon 220
    click method 221
    control list 221
    grow? 220
    location 220
    move? 220
    name 219
    owner 219
    size 220
    value 221
    value list 221
    visible? 219
RAM 46, 314, 501
rand primitive 308
read primitive 273, 379
read-line primitive 273
Read-only text 146
real 475, 519, 596
real? primitive 361, 461
receive high-level events 458
receive-serial-port primitive 327
rect-to-ints primitive 279
rect-to-points primitive 280
rectangle 596
Rectangles, Mac Methods 394
    round 399
recursion 441, 462
reference 595
    context-determined 11, 85, 594
    data-determined 11, 14, 16, 51, 85, 457, 594
    explicit 11, 85, 594
    method 437
    universal 11, 14, 16, 85, 595
references
    direct, indirect, doubly indirect 313
Remember Windows menu item 71
Remove Scroll Page menu item 72
rename primitive 274
Repeat menu item 18, 53, 442
repeat operation(s) 18, 86, 602
    execution sequences 624
    input sequence 622
    output sequence 622
Replace All menu item 46
Replace menu item 46
Replace Value menu item 42
replicate classes 75
replicate object 92
Replicate Object menu item 41, 128
Reply 346, 347
Required Suite 159
ResEdit 364
ResEdit resource files 449
ResError 409
reserved names (compiler) 5
resource fork 47, 364
resource ID 35, 156
resource management 263
resource types 378
Resources 35, 264, 364
Resources, Mac Methods 408
Restore Windows menu item 71
ResToStr 555
result 608
resume 458
resume event 162, 458
return 147
    key 352
reverse primitive 292
Revert to Saved menu item (compiler) 451
RGB 596
RGB Colors 392
rgb-to-ints primitive 280
RGBBackColor 393
RGBForeColor 392
RMaker resource files 449
roll forward 109, 110, 114
rollback 108, 109, 110, 112-114
root 599
    List 624
    Loop 624
    Simple 624
root mode 601
roots 594, 601
    annotating 88
round primitive 308
Round Rectangles, Mac Methods 399
round-down primitive 309
round-up primitive 309
rsrc number 364
Run
    via Set Program 116
Run Initial menu item 116
Run menu item 116, 168
Run menu item (compiler) 460
Run on Launch 25
running current application 168
running Prograph
    interrupted mode 105
    uninterrupted mode 105
runtime
    creation
        attribute 121
    class 122
    method 120
    persistent 121
        interruption 120
    program creation 120

S   *S*

save 263
Save As… menu item 35
Save As… menu item (compiler) 451
Save button 273
Save menu item 35
Save menu item (compiler) 451
save primitive 274, 464-467
Save Settings 69
Save Text As… menu item 37
Save Text menu item 37
saving current file 35
Saving Handles 35
saving text 37
sc-activate-wind 248
sc-activate-wind primitive 346
sc-aevent-begin 160, 248
sc-aevent-begin primitive 346
sc-aevent-dispatch 160, 248
sc-aevent-dispatch primitive 347
sc-aevent-end 160, 248
sc-aevent-end primitive 347
sc-background? 248
sc-background? primitive 348
sc-begin-drawing 248, 369
sc-begin-drawing primitive 348, 369
sc-begin-update 248
sc-begin-update primitive 348
sc-click-witem 248
sc-click-witem primitive 349
sc-delete-item 248
sc-delete-item primitive 350
sc-draw-witem 248
sc-draw-witem primitive 350
sc-end-drawing 248, 369
sc-end-drawing primitive 350, 369
sc-end-update 248
sc-end-update primitive 350
sc-find-witem 248
sc-find-witem primitive 351
sc-get-wind 162, 248
sc-get-wind primitive 351
sc-hilite-witem 248
sc-hilite-witem primitive 351
sc-idle-edit 248
sc-idle-edit primitive 352
sc-insert-item 248
sc-insert-item primitive 352
sc-key-button 248
sc-key-button primitive 352
sc-key-edit primitive 353
sc-key-list 353
sc-key-menu 248
sc-key-menu primitive 354
sc-key-wind 248
sc-show-balloon 173, 248
sc-show-balloon primitive 354
sc-tab-witem 248
sc-tab-witem primitive 354
sc-zoom-wind 248
sc-zoom-wind primitive 355
SCLibrary file 449
scrapbook 264
ScreenRes 418
Scroll List 127, 156, 158, 175, 353
    Balloon Help 156
    selection 175
Scroll List Specification editor 150
Scroll List system class
    active? 222
    balloon 224
    click method 225
    grow? 223
    list record 224
    location 223
    move? 223
    name 222
    owner 222
    select list 224
    size 224
    value list 224
    visible? 223
Scroll Text 149, 156, 352, 353
    Balloon Help 156
Scroll Text Specification editor 149
Scroll Text system class
    active? 227
    balloon 229
    edit record 231
    font 229
    font size 230
    font style 230
    grow? 228
    hscroll 232
    justification 230
    location 228
    move? 228
    name 227
    owner 227
    selection 232
    size 229
    style record 231
    text 231
    visible? 228
    vscroll 232
    wrap? 231
scrolling lists 346
ScrollRect 401
Search 601, 603
SectRect 395
SeedPixCFill 381
select 27, 287
Select All menu item (compiler) 449, 453
Select All Objects menu item 41
select primitive 286
selected elements
    appearance 28, 427
    clicking 29
    marquee 29
    shift-click 29
selective load 33
SelIText 418
Send Further menu item 42, 129
send-sport-done primitive 328
sensitive 475
Set 7, 14, 86, 96, 169, 599, 603, 617
    components 603
    data-determined reference 617
    inputs 7, 14
    name 7, 14
    outputs 7, 14
    universal reference 617
    use 7, 14
Set calls 618
Set Level button 117-118
Set menu item 50, 439
Set method icon 7
Set Program 47
Set Program menu item 117
Set Selection menu item 45
set-dialog-font primitive 287
set-nth primitive 293, 461
set-nth! primitive 293, 461
set-position primitive 275
set-seed primitive 310
set-sport-buffer primitive 328
SetCCursor 382
SetCPixel 393
SetCursor 382
SetDItem 417
SetIText 417
SetMethods 341, 342
SetPenState 385
SetPort 370
SetPt 406
SetRect 394
settable primitive 345, 462
SFGetFile 573
Shadow check box 135
shallow-copy primitive 266
shared file 505
ShieldCursor 384
Shift check box 135
shift key 163
shiftKey 163
show 287
Show Cases check box 118
Show Classes menu item 64, 74
Show Clipboard menu item (compiler) 454
Show Comments menu item 64
show primitive 287
ShowCursor 382
ShowPen 385
side effects 9
side-effects 462, 609
sign 597
sign primitive 310
sign-extend primitive 310
Simple 12, 88, 93, 599, 601, 603, 623
    components 603
    root 624
    value 595
simple mac 595
simple Macintosh types 378
Simple menu item 53, 441
Simple operation menu item 49, 438
simple operation(s) 603
    context-determined reference 615
    data-determined reference 615
    explicit reference 615
    universal reference 615
Simultaneous editing, executing 168
sin primitive 311
single inheritance 4
Single Step check box 118
SizeResource 413
slash (/) 9, 14, 16, 438
SlopeFromAngle 420
Smaller radio button (compiler) 456
sort primitive 293
space 596
spaced digits 596
SpaceExtra 390
special atom 596
Specification editor window 125
split-nth primitive 294
sport-configuration primitive 329
sqrt primitive 311
Stack menu item 71
stack window 97, 435
    actions 108
    multiple executions 106
    opening 108
Stack window icons
    name format 107
Startup Messages 68
state of execution 109
static text item 148
Stationery Aware 127, 458
Stationery documents 458
Step or Trace mode 47
Step/Show 436
Step/Show Level… menu item 117
Step/Show Off menu item 118
Step/Show On menu item 118
Stop Running menu item 168
StopAlert 415
Str255 374
StrFromText 555
string 475, 519, 595
string as Str255 374
String Help message 156
string-address primitive 321
string-length primitive 336
string-to-integer primitive 336
string? primitive 361, 461
StringWidth 391
Strip Comments menu item 64
StrJoin 556
stronger than 610
StrStretchString 556, 558
StrToPstring 557
Structure 61
structure allocation 378
style record 150
Styled Text 149
Styles radio button 135
sub-launch 458
subclass 4
    creating 5
subclass icon 74
SubPt 406
success 20
suffix primitive 337
Super 86
    use 15
Super menu item 53, 442
superclass 597
supplied C functions
    AddPrimitive 536
    Bless 537
    CallPrimitive 537
    C_integer 547
    DecUse 539
    Duplicate 539
    GetRefLevel 540
    GetTypeName 540
    HasType 541
    INCLASS 542
    IncUse 542
    IsType 542
    ListDeleteSlot 543
    ListEmptySlot 544
    ListGetSlot 544
    ListInsertSlot 545
    ListSetLength 545
    ListSetSlot 546
    ListStretch 546
    MakeC_boolean 547
    MakeC_list 548
    MakeC_none 548
    MakeC_Point 550
    MakeC_real 548
    MakeC_Rect 551
    MakeC_RGBColor 552
    MakeC_undefined 549
    Make_instance 552
    Member 553
    New 553
    NewN 554
    NumToStr 554
    ResToStr 555
    StrJoin 556
    StrStretchString 556
    StrToPstring 557
suspend event 162, 458
suspend/resume 161, 171
Suspend/Resume events 457
suspended execution 106
Switch Context menu item 32, 103, 115, 168
switch primitive 265
synchro 83
synchro link 10, 84, 445, 600
SysBeep 421
SysEnvirons 421
System 6 421
System 7 153, 462, 463
    32-bit clean 127
    aliases 26
    Apple Events 158
    Balloon Help 26
    Compatibility 139
    IAC 127
    Stationery aware 127
    TrueType 139
system beep(s) 20, 31
System Class 248
    icon 426
System class attribute icon 177
System Class Attributes
    aevent methods 159, 160
    Border 148
    Font 147
    Grow 148
    Move 148
    Size 147
    style record 150
    Visible 147
    Wrap 148
System class editors 125-126
specifications vs. WYSIWYG 125
System class icon 176, 177
System class instance attribute icon 177
System Class methods 170-175
    Bounds 174
    Clear 172
    Close 173, 174
    Copy 172
    Front Window 172
    Idle 172
    Key 173, 175
    Mouse Down 173, 174
    Notify 158, 160, 171
    Open 173
    Tab To Item 175
    Update 172, 174, 175
System Class primitives 158
    sc-activate-wind 346
    sc-aevent-begin 346
    sc-aevent-dispatch 347
    sc-aevent-end 347
    sc-background? 348
    sc-begin-drawing 348
    sc-begin-update 348
    sc-click-witem 349
    sc-delete-item 350
    sc-draw-witem 350
    sc-end-drawing 350
    sc-end-update 350
    sc-find-witem 351
    sc-get-wind 162, 351
    sc-hilite-witem 351
    sc-idle-edit 352
    sc-insert-item 352
    sc-key-button 352
    sc-key-edit 353
    sc-key-list 353
    sc-key-menu 354
    sc-show-balloon 354
    sc-tab-witem 354
    sc-zoom-wind 355
System class specifications 176, 244
System classes 168-244, 457
    Apple Events 158
    copying instances 265
    Edit Text 175
    inheritance 76
    Menu 170
System Classes file 127
System system class
    active? 233
    name 233
    owner 233

T   *T*

Tab key 354
Tab To Item 175
TabDirection 354
table-close 246, 511
table-delete 246, 512
table-export 246, 512
table-import 246, 513
table-info 246, 514
table-list 246, 514
table-new 246, 515
table-open 246, 515
table-rename 246, 516
tan primitive 311
TEActivate 346
TECHNICAL NOTE
    32-bit clean 463
    balloon help attribute 156
    saving handles 35
TEDeactivate 346
terminal mode 602
terminal(s) 594, 601
annotating 88
terminate 21, 608, 611, 612
Terminate menu item 21, 54, 442
test-all? primitive 262
test-bit? primitive 262
test-one? primitive 262
Text 287
    32K limit 147
    styled 149
Text Attribute 44
text editors 346
text file
    opening 36
Text File Creator radio buttons (compiler) 453
Text Specification editor 146
Text suite 159
Text system class
    active? 234
    balloon 235
    font 225, 236
    font size 225, 226, 236
    font style 225, 236
    grow? 235
    justification 237
    location 235
    move? 235
    name 234
    owner 234
    size 235
    text 237
    visible? 234
Text Window 44
text window(s) 102
    creating 36
    editing 103
    locating strings 44
    naming 102
    opening 102
    saving contents 37
Text, Mac Methods 388
TextFont 388
TextMode 389
TextSize 390
TextWidth 391
THINK C 469, 521
    building compiled XPrims 567
    building interpreted XPrims 561
    building XCode 586
    global data register 563
    library files 449
    main routine 563
TickCount 421
ticks 161
Tidy Icons menu item 71
Timeout 505
title bar 173
to-ascii primitive 337
to-bytes 245, 264
to-bytes primitive 264
to-handle primitive 321
to-pointer primitive 322, 380
to-string primitive 337
tokenize primitive 338
Toolbox 17, 276, 363
    calls 468
    essential Mac Methods 381
Toolbox data types
    array 373
    Boolean 374
    Byte 374
    compound 374
    Handle 374
    Integer 374
    LongInt 374
    Ptr 374
    Real 374
    SignedByte 374
    simple 374
    Unsigned 374
Tools menu 42-48
    Compact 46
    Find Again 46
    Find… 43
    Make Execute Only 48
    Replace 46
    Replace All 46
    Set Selection 45
    Uncompact 48
Tools menu item 42
    modify display of windows 45
Trace menu item 119
trace primitive 283, 462
Transfer pop-up menu 56
trap? primitive 268
True 601
TrueType 139
trunc primitive 311
tuple 594, 597
type primitive 362
Types button 56, 57

U   *U*

unambiguous methods 599
Uncompact 47
Uncompact menu item 48
uncompacting a method 47
undefined 519
Underline check box 135
Undo menu item 40
Undo menu item (compiler) 452
uninterrupted mode 105
UnionRect 395
unique 475
Unique1ID 413
UniqueID 412
universal method 340, 342, 597
    icon 8, 430, 437
    Local to Method… 51
    name 8
universal methods 4, 8
Universal Methods information dialog 58
Universal Methods menu item 70
Universal Methods window 8, 72-73, 116, 429
    Combinations 73
    creating method icon 73
    deleting 73
    Editing a method 73
    naming 73
    Opening 73
universal reference 11, 14, 16, 85, 595, 615
unlock-block primitive 322
unlock-string primitive 322
unpack primitive 294, 461
unsigned integer 596
unsupported features (compiler) 462
update 161, 171, 172, 174, 175, 351
Update All menu item (compiler) 454
update event 162, 349, 365, 367
Update menu item (compiler) 454
updateEvt 161
Use 68020/030 check box (compiler) 456
use counts 524, 533
Use Inline Text Service 459
Use Remote HL Event 458
Use Text Wrap 36
UseResFile 410
Uses Over-Shadowed Primitives check box (compiler) 457
Utilities, Mac Methods
    Graphic 418
    Miscellaneous 419

V   *V*

value 595
    compound 597
    copy 41
    replace 42
value parameters 371, 373
value window 4, 99-102
    banner information 99
    editing 101
    effects of buttons 102
    graphic mode 101
    opening 100
    regions 99
    standard mode 100
values
    simple 595
VAR parameters 371, 373
variable-length array 377
variant code 463
visible region 349
visual information 46, 47

W   *W*

wait-double? primitive 259
WaitNextEvent 457, 458
WARNING
    de-annotated forms 27
    Extensions folder 27
    Invalid Path IDs 494
    launching 27
    Make Execute Only 48
warning beep 20, 31
Wedges and Arcs, Mac Methods 400
what 161
when 161
where 161
wind-draw-prep 370
window 158, 172, 351
    Classes
        Show 74
    descriptions 72
    elements 72
Window Editor
    clicks 67
    Cmd-click 67
Window editors 136-139
Window Item 158, 350, 351, 352, 354
    Balloon Help 156
Window Item Specification editor 140
    invoking 141
Window Item system class
    active? 243
    balloon 244
    grow? 244
    location 244
    move? 244
    name 243
    owner 243
    size 244
    visible? 243
Window Item(s) 256
    editors 139-152
WYSIWYG editor
    actions 139
window record 351
Window Specification editor 67, 125, 137-139
    Activate Method 138
    Close Box 138
    Close Method 138
    Dialog 138
    Document 138
    Grow Box 139
    Idle Method 138
    invoking 137
    Key Method 138
    Modal 139
    Plain 138
    Plain w/Shadow 138
Window Title 138
    Zoom Box 138
Window system class
    activate method 241
    active? 238
    close method 241
    close? 239
    def ID 239
    idle method 241
    item list 242
    key method 242
    location 240
    modal? 239
    name 238
    owner 238
    selected item 240
    size 240
window record 239
Window Title editable-text field 138
Window/Mouse Down 171
WindowRecord 370
WindowRecord@ 351, 380
windows 256
    Attributes 79-81
    case 82-93
    Class Methods 77-78
    Classes 70, 74-77
        Hide 74
        Opening 74
    closing 173, 241
    edit 72
    opening 173, 241
    Persistents 70, 81
    Stack 71
Universal Methods 70, 72-73
    Combinations 73
    creating method icon 73
    deleting 73
    Editing a method 73
    naming 73
    Opening 73
Windows and Menus radio buttons 130
Windows menu 70-72
    Add Scroll Page 72
    Attributes… 70
    Classes 70
    Local Heritage… 70
    Methods… 70
    Persistents 70
    Remember Windows 71
    Remove Scroll Page 72
    Restore Windows 71
    Stack 71
    Tidy Icons 71
    Universal Methods 70
Wrap 146
write primitive 275
write-line primitive 275
writing C code 468, 521
writing Pascal code 468
writing XCode 574
writing XPrims 557
WYSIWYG Window editor 125, 136-137
   actions 137
   invoking 136
WYSIWYG Window Item editor 139

X   *X*

XCMD 521
XCode 468, 469, 521, 574
xor primitive 298
XPrims 12, 380, 468, 469, 521
   example
   get-filter 573
   input-average 570
   list-average 568
   point-in-rect? 571
   writing 557

Z   *Z*

zero based array indices 377
Zoom 29, 355
     Option-zoom 29
zoom box 173
Zoom Box check box 138
ZoomDirection 355